home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gttutors.zip / GTTUTOR5.TXT < prev    next >
Text File  |  1987-10-02  |  37KB  |  679 lines

  1.                        What is GT Netmail?
  2.  
  3. GT  Netmail  is  a function found in the  newest  release  of  GT 
  4. (tentatively  called  GT  Power 13.00) that  allows  a  regularly 
  5. scheduled and automatic exchange of messages between systems that 
  6. are  designated  as  being a part of the network  of  systems  so 
  7. engaged.  This exchange takes place without human intervention.
  8.  
  9.                             Concepts
  10.  
  11. A network of computers consists of any number of systems that may 
  12. be located anywhere so long as they are each able to connect with 
  13. each other via a modem.
  14.  
  15. Each  such  system,  if it is to be designated  as  part  of  the 
  16. network,  has a unique set of numbers assigned to it so that  any 
  17. other system that is also designated as part of that network  may 
  18. 'know' of it and know how to communicate with it.  These  numbers 
  19. are called the 'Net/Node' for the system.
  20.  
  21. The  'Net'  part of the designator refers to the set  of  systems 
  22. that  are  presumed to be within local dialing  distance  of  all 
  23. others  bearing that same 'Net' designator.  For example, the  GT 
  24. Net  which is numbered 001 is the set of all systems  located  in 
  25. the greater Houston, Texas area.  Within that 'Net', each  system 
  26. is  given  a  unique 'Node' number.  Net  and  Node  numbers  are 
  27. separated  with  a slash for convenience.  Thus, 001/000  is  the 
  28. designation  of a system known as Node number zero on Net  number 
  29. 001.
  30.  
  31. Net  numbers range from 001 to 999 while Node numbers range  from 
  32. 000  to  999.   Unless  a system is designated  as  part  of  the 
  33. network, it is thought to have a Net/Node number of 000/000.
  34.  
  35. The National GT Network reserves all Net numbers from 001 through 
  36. 899.   Net numbers from 900 through 999 may be used  for  private 
  37. networks  or  other  Local  networks that are  NOT  part  of  the 
  38. National GT Network.
  39.  
  40. Node  number  000 is significant only in that  by  convention  it 
  41. refers  to  the  Local  Net Coordinator.   This  person  has  the 
  42. responsibility  of assigning all Node numbers within his/her  Net 
  43. and  for  assuring the security of those Nodes (more  about  that 
  44. later).
  45.  
  46. Net  numbers  are assigned by the  National  Network  Coordinator 
  47. (James Davis at this time).  
  48.  
  49. In  order for a message to enter the stream of messages that  are 
  50. automatically  routed  from Net/Node to Net/Node by  the  system, 
  51. those  messages  must be created with  a  destination  (Net/Node) 
  52. along  with  an addressee.  This is only possible  at  this  time 
  53. within  message  areas  that  are  specifically  established  for 
  54. Netmail.
  55.  
  56. Within  your  GTMDIR.BBS file, which is located  within  your  GT 
  57. directory,  is a list of all message bases known to your  system.  
  58. A typical entry contains an authorization level, a pathname,  and 
  59. a  brief  description of that message base.  You may  specify  as 
  60. many  Netmail message bases as you wish.  In order to do  so  all 
  61. that is necessary is that you add a tilde (~) to the beginning of 
  62. the pathname for that message base in this file.  For example,
  63.  
  64. (GTMDIR.BBS contents:)
  65.  
  66. B   C:\GT\BETA     Beta test message base.
  67. =C  C:\GT\PRIVATE  Private message base.
  68. *D ~C:\GT\NETMAIL  Netmail CONFERENCE - restricted access.
  69. F   C:\GT\GENERAL  General public message base.
  70.  
  71. Line  one shows a message base that requires at least  an  access 
  72. level of 'B' in order to gain access.
  73.  
  74. Line  two  shows a private message base available only  to  those 
  75. users that have access level 'C' assigned to them.
  76.  
  77. Line  three shows a conference message base.  This means that  so 
  78. long as the user has at least an access level of 'D' he/she  will 
  79. be able to see that the message base exists, but until the  Sysop 
  80. changes the BAN flag that is set in the user record  (GTMAIL.CTL) 
  81. when  the  user  first tries to access  this  base  (applies  for 
  82. access),  the  user may not actually get into the  message  area.  
  83. Also,  because the pathname starts with a tilde (~), the  message 
  84. base  is  used  to send and receive  messages  over  the  Netmail 
  85. network.
  86.  
  87. Of  course,  line four shows a message base that anyone  with  at 
  88. least an access level of 'F' may enter.
  89.  
  90. There is actually one additional  control symbol  that the  Sysop |
  91. may use with a  Netmail message base entry  in  GTMDIR.BBS; it is |
  92. the carrot  (^)  and it indicates that  NO PRIVATE  messages  are |
  93. allowed by any user,  even if  those  users have  private message |
  94. capability.   The symbol  is placed  in front of  the  tilde  (~) |
  95. in the GTMDIR entry for that message base.  For those of you that |
  96. wish to have more than one message base,  and to  prevent private |
  97. messages in  ALL Netmail directories,  you may use this symbol in |
  98. your  GT.CNF  file  (via Alt-I)  entry that  specifies  the  main |
  99. message base.                                                     |
  100.  
  101. When a user has been authorized to enter into the Netmail message 
  102. base he may create and read messages just as in the other message 
  103. areas (and with the same restrictions - namely, Private mail only 
  104. if  authorized).  When entering a message in this area,  however, 
  105. when  he is asked to enter the 'To:' name, and does so,  he  will 
  106. then be asked to enter the Net/Node number where that message  is 
  107. to be delivered.  If the user does not know the correct  Net/Node 
  108. number he is given the ability to List all Net/Nodes known to the 
  109. system.   Further,  he  may  have the system  scan  the  list  of 
  110. Net/Nodes  looking  for  either a part of the  BBS  name  or  the 
  111. addressee's  name.   In any event, the user must  input  a  valid 
  112. Net/Node  number  in order to proceed.   (Incidentally,  you  may 
  113. specify  only the significant digits in a Net/Node  number.   ie, 
  114. 1/0 is the same as 001/000).
  115.  
  116. Recall that all nodes with the same Net number are presumed to be 
  117. local  calls  from  any  other Node in that  Net.   Thus,  it  is 
  118. presumed  that  these calls do not cost anything to  place.   For 
  119. that reason, if the user specifies a Net/Node that is 'local' and 
  120. it  is  found that that Net/Node exists, no further  checking  is 
  121. performed.  However, if the Net is other than the one he is using 
  122. as  he prepares the message, then because the call  will  involve 
  123. (by  assumption) long distance charges to the Sysop, a method  of 
  124. cost  control  has been implemented that may deny  the  user  the 
  125. right  to  create  the message.  That is, if the  user  has  been 
  126. assigned  some  number  of CREDITS (units, not  dollars),  he  is 
  127. allowed  to create the message for the 'out-of-net'  destination.  
  128. Otherwise he is not allowed to do so.
  129.  
  130. There  is  a GTMAIL.CTL file associated with each  message  base.  
  131. The  message  base that is called the 'default message  base'  is 
  132. where  the main user file (GTMAIL.CTL) exists.  It is  this  file 
  133. that  is used to determine if a user is to be allowed  access  to 
  134. the system at time of logon.  This main message base user file is 
  135. NOT the one in which CREDITS are assigned relative to the use  of 
  136. Netmail.   In order to provide a user with a CREDIT balance,  you 
  137. must  use  GTCTL and change to the Netmail message  base.   Then, 
  138. using  GTCTL's 'Update User' function (Option 4), you may  change 
  139. the user's CREDIT balance.
  140.  
  141. Scheduled  'events' are a function of GT that are Sysop  defined.  
  142. That is, there is a new file called SCHEDULE.BBS that is  located 
  143. in the GT directory.  Besides certain control information,  there 
  144. is  an entry for each 'event' that the Sysop wishes GT to  become 
  145. aware of and to cause to happen at a specified time.  An  'event' 
  146. is merely a program or a batch file name.
  147.  
  148. For example, the following entry might be used to specify that an 
  149. event called 'MAIL' is to occur at 4:00 a.m.:
  150.            04:00-04:15  MAIL  (start range)
  151.  
  152. 'MAIL',  of  course, is either the name of a program or  a  batch 
  153. that  DOS can find via its PATH.  Let us suppose that it  is  the 
  154. name of a batch file (MAIL.BAT).
  155.  
  156. This batch file would contain DOS commands such as the following:
  157.           MBAGGER
  158.           MDRIVER XXXX-YYYY sss eee /D5                           |
  159.           MDIST
  160.  
  161. Thus,  at  4:00 a.m. GT would cease all  communications  activity 
  162. (gracefully,  and in fact, about five minutes earlier)  and  then 
  163. Shell  to  the MAIL batch file.  DOS would, in turn,  invoke  the 
  164. MBAGGER  program  and  when that completed it  would  invoke  the 
  165. MDRIVER program, then the MDIST program.  When that third program 
  166. was finished, DOS would return to the scheduler program within GT 
  167. and GT would resume normal communications.
  168.  
  169. This is exactly how you should setup for Netmail.  Now it is time 
  170. to discuss the parts of Netmail to make it clearer as to what  is 
  171. happening.
  172.  
  173. There  are several new directories that must exist on  the  drive 
  174. that contains your GT programs.  You do not have to create  these 
  175. directories  as  when they are needed the Netmail  programs  will 
  176. create them automatically if they do not exist.
  177.  
  178. The  first  is  called  \MAILWORK.  This  directory  is  used  as 
  179. workspace for the various Netmail programs and normally  contains 
  180. nothing in it.
  181.  
  182. The  next  two are:  \MAILOUT and \MAILIN.  These  are  used  for 
  183. temporarily storing messages that have been 'bagged' to get ready 
  184. for delivery to another Net/Node or which have been received from 
  185. other  Net/Nodes prior to being 'un-bagged' and distributed to  a 
  186. message  base,  respectively.   Bagging a  message  merely  means 
  187. ARChiving  it into an ARC file with a name that contains  routing 
  188. information along with all other messages to be delivered to that 
  189. same destination.
  190.  
  191. Please  note,  IT IS ASSUMED THAT YOU HAVE A COPY  OF  PKARC  AND 
  192. PKXARC SOMEWHERE IN THE DOS PATH FOR NETMAIL TO WORK!!!!
  193.  
  194.                              MBAGGER
  195.  
  196. This is a standalone program that finds all Netmail message areas 
  197. that  you  have  defined (by reading  your  GTMDIR.BBS  file  and 
  198. looking  for  those tildes).  It then looks at  each  message  in 
  199. those  message  bases looking for those that have  not  yet  been 
  200. 'MAILED'.  A message has been 'MAILED' as a result of the actions 
  201. of  the  MBAGGER program, not because it has actually  been  sent 
  202. over a telephone line.
  203.  
  204. If the message is destined for your own system (has YOUR Net/Node 
  205. as a destination), then MBAGGER marks it MAILED,  'bags' it,  and
  206. moves that bag to your \MAILIN directory.  If it is for any other
  207. Net/Node  then this program  creates or updates  an  ARChive file
  208. with a  name  that  insures  that it will be  sent to the  proper
  209. Net/Node and  places all  messages destined to that same Net/Node
  210. into  this  file  (the 'bag') before  placing  the  bag into your
  211. \MAILOUT directory.
  212.  
  213. When all messages have been 'bagged' and marked 'MAILED', MBAGGER 
  214. is complete and returns control to the batch file processor.
  215.  
  216.                              MDRIVER
  217.  
  218. This  is the heart of the Netmail system.  This program  is  told 
  219. the start and end time of the Netmail run  (normally an hour) and 
  220. it  will wait in memory until the start time before beginning  to 
  221. do  anything.  When the start time is reached, MDRIVER  wakes  up 
  222. and  begins alternating between listening for the phone  to  ring 
  223. and making outgoing calls.
  224.  
  225. Please note,  start time  and  end time  (sss and eee)  is  to be
  226. specified in pseudo military time. That is, using a 24 hour clock
  227. and  using  24:00  to  mean  midnight  rather  than 00:00.  Whole
  228. numbers may be used (ie, 23 is the same as 23:00).
  229.  
  230. In  an effort to insure that all nodes do not get into synch  and 
  231. try  calling each  other at precisely the same time  as the other
  232. nodes  are  trying, there is a  random  time  duration  generator
  233. within  this  program.   Thus, you will see  that  some  variable 
  234. number  of seconds (usually between 1 and 30) will lapse  between 
  235. attempts by your system to make a call out.
  236.  
  237. Should your  phone ring, the program will answer it  and  try  to
  238. determine who has called.  If it is a human or a system operating 
  239. in terminal mode (still considered a human) then the caller  will 
  240. be  told that your system is in the middle of a Netmail  run  and 
  241. asked  to call back later before the connection is  broken.   If, 
  242. and  only  if, it is a Netmail Node that is  calling,  then  this 
  243. program  will insure it is a valid Net/Node  (authorized)  before 
  244. progressing.  If not, it will disconnect and await the next call.  
  245. If  it is a valid Net/Node Netmail caller, then the program  will 
  246. accept mail from it (putting the received bags of mail into  your 
  247. \MAILIN  directory).  It may also then deliver mail you  have  on 
  248. your  system with the caller's Net/Node as a destination at  that 
  249. time.
  250.  
  251. Recall  that if the Net number is the same as your own, it  is  a 
  252. local  call.  In that case, the calling system will be forced  to 
  253. accept  delivery of mail destined for it as there is presumed  to 
  254. be  no extra costs involved.  Interestingly, if the call came  in 
  255. via  PC-Pursuit, it is also assumed that there is  no  additional 
  256. cost and the caller will be required to accept delivery from you.  
  257. In any other situation, your system will not force delivery  upon 
  258. the caller.
  259.  
  260. When  all  messages have been sent and/or received,  the  session 
  261. will  end and the program will once again begin  the  alternating 
  262. between listening for the phone to ring and making calls.  (There 
  263. is also the possibility that the caller may ask for a file to  be 
  264. sent  to him or to attach a file to a message.  These  situations 
  265. are discussed later).
  266.  
  267. Your  system will place calls to all Net/Nodes that have Bags  of 
  268. mail  to  be  delivered to them.  (If you wish to place a call to |
  269. a Net/Node,  even if you do not have any  mail to deliver to that |
  270. Net/Node,  you may  force the system  to do so  by  including  an |
  271. OUTBOUND NODE entry  in your  ROUTING INSTRUCTIONS.)  These calls |
  272. are  simply the reverse of the receipt of a call.
  273.  
  274. When  all bags that are to be sent have been forwarded  to  their 
  275. destinations,  or if the mail hour end time occurs, this  program 
  276. terminates and returns control to the batch processor.
  277.  
  278. One of the additional functions of the MDRIVER program is to help |
  279. the sysop avoid 'stale mail' collecting in his MAILOUT directory. |
  280. This is done via the inclusion of a command line parameter on the |
  281. MDRIVER command line.  The format of this 'switch' is: /Dxx where |
  282. xx is the number of days a mailbag will be allowed to age  before |
  283. it is removed from the MAILOUT directory.   In a very real sense, |
  284. such a mailbag contains dead-letters.   Thus, MDRIVER renames the |
  285. bag by replacing the first letter (B) with an 'X'  and, if it was |
  286. originated on your system,  moving  the  bag to a subdirectory on |
  287. your system  called  \MAILOUT\DEADLTR.  If the bag  originated on |
  288. some other system,  then the system  will create a message to the |
  289. sysop of the originating Net/Node  telling him you were unable to |
  290. deliver the bag and the bag will be File Attached to it.          |
  291.  
  292.                               MDIST
  293.  
  294. This program gets control and looks into the \MAILIN directory to 
  295. see if any mail has been delivered to you.  If so, the mail  bags 
  296. are unARCed and the resulting messages are placed into the  first 
  297. Netmail  message  area.   (In  a  future  release  we  may   have 
  298. implemented  a method for distributing to various message  bases, 
  299. but not at this time.
  300.  
  301. Note that all messages that pass through the Netmail system  have 
  302. the ORIGIN Net/Node number and BBS name suffixed to them so  that 
  303. the recipients of them will know where they came from.
  304.  
  305. When this program is completed control returns back to the  batch 
  306. processor which, in this example, will then return control to the 
  307. GT  scheduler and cause GT to return to the mode it was in  prior 
  308. to the event.
  309.  
  310.                          File Transfers
  311.  
  312. Netmail  uses  two  'dot  commands' similar  to  those  found  in 
  313. WordStar to indicate that a file is attached or requested.  These 
  314. dot  commands are '.FA' and '.FR' respectively.  The period  MUST 
  315. be  found in column one of any line of the message text, and  the 
  316. FA or FR are to immediately follow (without intervening  blanks).  
  317. Also, following one or more blanks, there is to be a file name.
  318.  
  319. Thus, if a message contained the following line in it:
  320.  
  321. .FR NODELIST.BBS
  322.  
  323. Then the recipient of that message would understand that it is to 
  324. look  for  a file called 'NODELIST.BBS' in a  directory  that  is 
  325. specifically set up for the purpose (\MAILOUT\FILEOUT) and if  it 
  326. finds that file it is to send it to the caller (via Megalink).    |
  327.  
  328. It is EXTREMELY  important  for  you  to  recognize  that  a File |
  329. Request  (.FR)  requests  an  immediate  file  transfer  of   the |
  330. requested file rather than just requesting that a message be sent |
  331. back to the originator that contains that file.  Consider that as |
  332. a significant difference,  File Requests  are not simply  one-way |
  333. transactions.  One-way transactions allow Netmail to be effective |
  334. over PCP, and, as a result, provides for (in conjunction with the |
  335. implementation of Local and Continental Hubs)  cost free  traffic |
  336. from coast to coast.  Let me be even more specific,  ALL messages |
  337. that contain a File Request (.FR) will be sent  DIRECT  from your |
  338. Net/Node to the destination Net/Node (WITHOUT using HUBS).  Thus, |
  339. if you are in New Your and request a file from a node in Florida, |
  340. the MDRIVER program will call Florida (ie, a Long Distance call). |
  341. Thus,  when they connect,  the File Request can be honored.   For |
  342. this reason  we have  provided you  the ability  to prevent  your |
  343. users from using either .FA or .FR capabilities.                  |
  344.  
  345. Similarly,  if the '.FR' had been a '.FA', then the  caller  will 
  346. send  a file to the receiver (host) and it will be placed into  a 
  347. directory called \MAILIN\FILEIN  when received.   The method used |
  348. here is quite different than in the case of File Requests.   File |
  349. Attaches are detected by the MBAGGER program which looks into the |
  350. \MAILOUT\FILEOUT directory on your system for the specified file. |
  351. Finding it,  MBAGGER then archives that file  (using PKARC)  into |
  352. the same mailbag as the message which contains the .FA message.   |
  353.  
  354. It  is expected that the SYSOP will control access to these  file 
  355. transfer  functions  via new authorizations in  the  GTPASSWD.BBS 
  356. file.  'FR' is the authorization code for use within the password |
  357. file that allows  a user with that authorization  to use the  .FA |
  358. and .FR commands.                                                 |
  359.  
  360.                             Security
  361.  
  362. A  Prime  objective in the design of the GT Netmail  function  is 
  363. security.  It would be a disaster, for example, if any user of GT 
  364. should  'pretend'  to be a valid Net/Node and  call  other  valid 
  365. Net/Nodes  requesting mail to be delivered.  For this  reason  we 
  366. have  developed a concept called the CRC that must be  used  with 
  367. the  MDRIVER  command.  Without a valid CRC, the MDRIVER  is  not 
  368. capable of establishing a Netmail session.
  369.  
  370. The  CRC codes are assigned by the National Network  Coordinator.  
  371. Like passwords, the CRC code for a Net/Node is CONFIDENTIAL!!!!!!
  372.  
  373. In the example MDRIVER command shown above, the XXXX-YYYY is  the 
  374. CRC  code assigned for the node that is running the  code.   (The 
  375. 'sss' and 'eee' are start time and end time of the session).
  376.  
  377.                        Additional Control
  378.  
  379. There are two more files associated with GT Netmail;  ROUTING.BBS 
  380. and NODELIST.BBS.  Like the others, these must be located in  the 
  381. GT directory.
  382.  
  383.                           NODELIST.BBS
  384.  
  385. This file contains the valid Net/Nodes for the network along with 
  386. telephone numbers, baud rates, City, BBS name and Sysop name.  It 
  387. is usually provided by the Network Coordinator.  It is  necessary 
  388. to be running with the most current NODELIST.BBS at all times!!
  389.  
  390.                            ROUTING.BBS
  391.  
  392. This file  contains  as many  as  seven  'sections' at this time, |
  393. though there may be others added over time.   The first  is  used |
  394. to  define  the  PC-Pursuit numbers so that your system will  use |
  395. PCP for those  Net/Nodes  where it is appropriate.   The documen- |
  396. tation which accompanies your Netmail programs contains a complete
  397. example  of this section of the ROUTING.BBS file.  Note that  you 
  398. need  only  include  those PCP numbers that are a  part  of  your 
  399. network.  Also please note that the city name in the NODELIST.BBS 
  400. must   match  identically  those  listed  in  this   section   of 
  401. ROUTING.BBS in order to recognize that a call is to be placed via 
  402. PCP.   Note that each section of the  ROUTING.BBS file must start |
  403. with the section name  (in this case, 'PURSUIT'),  and end with a |
  404. line that contains the single word 'END'.                         |
  405.  
  406. The  second  section  of this file is called  the  INBOUND  NODES 
  407. section.  This is used in order to tell your MDRIVER program that 
  408. it  is  NOT  to  place calls to  the  Net/Nodes  specified.   For 
  409. example,  some Net/Nodes have access to PCP and, thus,  they  may 
  410. call  you without additional cost.  These same Net/Nodes may  not 
  411. be  Pursuitable.   Thus, you mark them as INBOUND NODES  and  you 
  412. will  receive calls from them but not place calls.   And,  recall 
  413. that  if  they are via PCP your mail to them will be forced  upon 
  414. them as there is no additional cost to the caller to do so.
  415.  
  416. The entries in this section are in the following format:          |
  417.               Net/Node-Node      where Net is the Net number  and |
  418. Node-Node is a range of Node numbers (even the same one).
  419.  
  420. The next section,  like all of them,  is optional  and  is  named |
  421. 'LONG DISTANCE'.   It is used to  override the default rules used |
  422. by  MDRIVER  to  determine if a number is local or long distance. |
  423. (Default has it that  all nodes  on the same Net are local.  That |
  424. is, any number that has an area code that matches the one {or more}
  425. specified in your  SCHEDULER.BBS  file is assumed to be local and |
  426. will result in a dialing string like this: ATDTxxx-xxxx|).  There |
  427. are times,  however,  when a node may have the same area code but |
  428. still be considered long distance by your local telephone company.|
  429. In such a case  your dialing string  would have to be constructed |
  430. like this:   ATDT1,xxx-xxx|  so we have provided this  section to |
  431. allow you to specify which nodes those are.   The format of  each |
  432. entry in this section  is identical to that of the  INBOUND NODES |
  433. section;  NET/Node-Node.                                          |
  434.  
  435. Next, there is a section called 'OUTBOUND NODES'.   This is used, |
  436. to specify those Nodes that are to be called during each  Netmail |
  437. session at least once, whether there are any mailbags to be  sent |
  438. or not.  Note, in this section only, a range of nodes is not used |
  439. along with the Net number.   That is,  valid entries contain only |
  440. only the specific Net/Node desired.                               |
  441.  
  442. Another section is called  'PREFIXES'.   Within this section  you |
  443. may  tell  MDRIVER  if you wish  it to prepend prefixes and/or to |
  444. append suffixes to the dialing strings it creates.  There are two |
  445. kinds of  numbers  as far as MDRIVER is concerned; Local and Long |
  446. Distant.  Each may have prefixes and/or suffixes and these may be |
  447. different  as  between  the  two  types  of numbers.  Within this |
  448. section,  you  specify  LOCAL  prefixes  with the keyword 'LOCAL' |
  449. followed  immediately  with  the  symbols  for  the  prefixes and |
  450. suffixes desired enclosed in parenthese.  The symbols are the same|
  451. as used in your  GT.CNF  file and MDRIVER extracts from that file |
  452. what the symbols mean.                                            |
  453.  
  454. For example:   LOCAL(-)   or   LOCAL(*,+)   or  LOCAL(,!)         |
  455.  
  456. The first example shows MDRIVER being told to add a prefix to all |
  457. local calls.   The second example shows it being told to add both |
  458. a  prefix  and a  suffix  to  all local calls.  The third example |
  459. shows it being instructed to add only a suffix to all local calls.|
  460. Similarly, you may control the dialing string for all long distance 
  461. calls.  The keyword in that case is 'DISTANT'.                    |
  462.  
  463. Note, if you specify a prefix for long distance calls then MDRIVER|
  464. WILL NOT automatically insert a leading '1,' in front of the area |
  465. code.  It becomes your responsibility to do so.                   |
  466.  
  467. ROUTING INSTRUCTIONS  is the next  section.   It is  conceptually |
  468. rather easy to understand,  but is  probably the  single greatest |
  469. source of trouble to new users of NetMail.    The purpose of this |
  470. section is to tell MDRIVER where to send mailbags that it finds in|
  471. your MAILOUT directory that are not destined to your own system.  |
  472.  
  473. Further, it also specifies how your system will respond if asked  |
  474. by another Netmail system to accept mailbags for destinations that|
  475. are not yours (this is called mail forwarding).                   |
  476.  
  477. In the  simplest  of  cases,  you  will not have anything in this |
  478. section ofyour ROUTING.BBS file,  but that would prevent you from |
  479. benefiting from one of the best features of NetMail;  the ability |
  480. to  send and receive  messages  from  coast to coast without cost |
  481. - utilizing Hubs.
  482.  
  483. A Hub is merely a GT Netmail system that has been established and |
  484. setup in such a way that it will accept mail for other Net/Nodes. |
  485. At the  present  time,  there  are  two  kinds of Hubs: Local and |
  486. Continental.  A Local Hub is established in each Net (usually the |
  487. Hub coordinator's system).   These Hubs  accept mail for any Node |
  488. within the Hub and will forward those mailbags to the destinations|
  489. desired.  Thus, any node can send all mail to all nodes in the Net|
  490. by  placing  only  one  call (to  the  Local Hub) and sending ALL |
  491. outbound mail to it.  The Hub, in turn, will place all local calls|
  492. necessary to deliver that mail.                                   |
  493.  
  494. The Continental Hubs  are  established as clearing houses for the |
  495. Local Hubs.   These Continental Hubs accept Mail for ANY Net/Node |
  496. on the Network.  Local Hubs may call a Continental Hub and forward|
  497. ALL mail  destined out of  their own Net.   The Continentala Hubs |
  498. have been established in such a way as to have certain Local Hubs |
  499. assigned to them.   Thus,  when a Local Hub calls its Continental |
  500. Hub it can receive all mail  destined to that Net as well as make |
  501. deliveries.   Continental Hubs  will forward  (or arrange to have |
  502. forwarded)  all  mail  that  belongs  to  other  Continental Hubs |
  503. automatically.  Thus, a Local Hub can 'deliver' ALL of its out-of-|
  504. net mail with one phone call to its assigned Continental Hub.     |
  505.  
  506. All  of  the  above  explains  why  we  have included the ROUTING |
  507. INSTRUCTIONS section.   There are two kinds of entries within it. |
  508. The  first  utilizes the keyword  'FORWARD' while the second uses |
  509. 'ACCEPT'.  The FORWARD keyword is used primarily by non-Hub Nodes.|
  510. These tell the MDRIVER program where to send all mailbags.  These |
  511. entries may utilize re-direction or not.   Re-direction is merely |
  512. an alternate address to which a mailbag will be sent  RATHER THAN |
  513. the actual destination.   Specifically,  in the case of a non-Hub |
  514. node, every Net/Node address that the sysop of that system wishes |
  515. to communicate with  (usually the entire network),  should have a |
  516. FORWARD entry that tells the MDRIVER to re-direct those  mailbags |
  517. to the  Local Net Hub rather than directly to their destinations. |
  518. In this way,  the non-Hub nodes can 'deliver' all mail with but a |
  519. single phone call (a local one) to their Local Net Hub. Following |
  520. is a set of  FORWARD entries  that shows this for a  non-Hub node |
  521. identified  as  004/009 where the Local Net Hub has an address of |
  522. 004/000:                                                          |
  523.  
  524. ROUTING INSTRUCTIONS                                              |
  525.   FORWARD 001/000-999 -> 004/000                                  |
  526.   FORWARD 002/000-999 -> 004/000                                  |
  527.   FORWARD 003/000-999 -> 004/000                                  |
  528.   FORWARD 004/000-000                                             |
  529.   FORWARD 004/001-008 -> 004/000                                  |
  530.   FORWARD 004/010-999 -> 004/000                                  |
  531.   FORWARD 005/000-999 -> 004/000                                  |
  532.   etc.                                                            |
  533. END                                                               |
  534.  
  535. The first three lines tell  MDRIVER  that if it should attempt to |
  536. deliver mail for any node within  Nets 001 through 003, it should |
  537. re-direct delivery to the Local Net Hub (004/000).  Line four says|
  538. that  mail  addressed  to 004/000 is to be sent directly (without |
  539. re-direction)  to that Net/Node.   The fifth line says re-directs |
  540. mail destined for nodes  001 through 008 of Net  004 to the Local |
  541. Net Hub.   004/009 needs no  FORWARD nor re-direction because the |
  542. messages to that  net/node are already  at their  destination and |
  543. MDRIVER will never see them.   The sixth line  re-directs all the |
  544. rest of the mail for Net 004 to the Local Net Hub.                |
  545.  
  546. What,  then,  does an  ACCEPT entry  do that is  different from a |
  547. FORWARD entry?   Only one thing: It allows your MDRIVER to ACCEPT |
  548. re-directed mail for those  net/nodes and to show what to do with |
  549. it.  That is, if you are accepting delivery of mail for some other|
  550. net/node  (you are acting as a Hub),  then  you must  specify via |
  551. ACCEPT  statements  rather than  FORWARD statements that you will |
  552. allow receipt of such mail.   In  all  other  aspects the  ACCEPT |
  553. statement is identical to the FORWARD statement.                  |
  554.  
  555. One GOLDEN RULE to remember about these entries: The same address |
  556. must  NOT  appear  on  both  sides  of  a  re-direction  command. |
  557. For example,  ACCEPT  004/000-999 -> 004/000  is in error,  since |
  558. 004/000  is  found on both sides of the re-direction symbol (->). |
  559. Why?   Well,  when MDRIVER attempts to re-direct mail for 004/000 |
  560. to net/node 004/000, then it will do so with a forwarding request |
  561. of the receiving system.  This means that the receiving system is |
  562. to accept the delivery of mailbags and place them into its MAILOUT|
  563. directory  rather than its MAILIN directory.   Since it goes into |
  564. the  MAILOUT directory,  when the session completes,  MDRIVER re- |
  565. organizes itself  so that it can attempt to make  delivery of all |
  566. mailbags in its MAILOUT area.  Recall that MBAGGER shortcircuited |
  567. this step for  all mail destined for the  system they are already |
  568. on.   MDRIVER is not designed to handle bags of mail destined for |
  569. itself.   Without the re-direction symbol,  MDRIVER sends mail to |
  570. the destination directly and the receiving system puts it into its|
  571. MAILIN directory.                                                 |
  572.  
  573. The  last  currently  defined  section  of  ROUTING.BBS is called |
  574. 'PICKUP OVERRIDES'.   Here,  we  have  provided  a method for the |
  575. sysop to override  MDRIVERS cost control functions.   Local calls |
  576. and those that are made over PC-Pursuit will always first deliver |
  577. the mail that they have to deliver,  then they will automatically |
  578. request delivery of all mail destined (or forwarded) to it. This, |
  579. because there is  no extra cost to the caller  if the duration of |
  580. the call is slightly extended.   Long distance calls made without |
  581. the benefit of PCP, however, do not automatically request delivery|
  582. of all mail.   Thus,  only  the  purpose of that call (sending of |
  583. mail) is attempted during such a session.   If, however, you want |
  584. mail  to  be  delivered  during  such a call,  you would use this |
  585. section to so specify.   The format of such an entry is identical |
  586. to that used  LONG DISTANCE and  INBOUND NODES sections described |
  587. above  (ranges included).   Note that specifying a  Net/Node here |
  588. will  NOT  automatically  result  in  a  call  to  the  specified |
  589. Net/Node(s)  unless  there is  mail to be sent to that node.   To |
  590. force a call, you must use the OUTBOUND NODES section.            |
  591.  
  592.  
  593.                         Setting it all up
  594.  
  595. Assuming  you are running the latest version of GT,  these  steps 
  596. will get you set for participation on the Netmail network:
  597.  
  598. 1)   Obtain  a Net/Node number from your  Local  Net  Coordinator 
  599. along with the CRC code to be used with it.
  600.  
  601. 2)   Create  a  Netmail message base  via  modification  of  your 
  602. GTMDIR.BBS file (The tilde character before the pathname).
  603.  
  604. 3)  Create a SCHEDULE.BBS file.  It should contain the  following 
  605. lines:
  606.      NET=xxx
  607.      NODE=yyy
  608.      AREA=zzz         (may contain multiple #'s.  ie, =713,510)   |
  609.      NAME=BBS name
  610.      CITY=your city (same spelling as in PCP list in ROUTING.BBS)
  611.      04:00-04:15 MAIL  (Will start anytime in range 4:00-4:15)
  612.  
  613. Obviously,  the  event shown scheduled for 04:00  should  be  the 
  614. actual time of the event as specified by your Net Coordinator.  
  615.  
  616. 4)  Create  the MAIL.BAT file:
  617.      MBAGGER
  618.      MDRIVER XXXX-YYYY 4 5 /D10    (XXXX-YYYY being the CRC code) |
  619.      MDIST
  620.  
  621. 5)  Create the ROUTING.BBS file as described above.
  622.  
  623. 6)  Copy the NODELIST.BBS file into your GT directory.
  624.  
  625. 7)  TEST IT - TEST IT - TEST IT
  626.  
  627.  
  628.                          GOLDEN RULES!!!
  629.  
  630. If you have a Net/Node number assigned then you must follow these 
  631. two simple rules:
  632.  
  633. 1)  Your system MUST be running Netmail during the same hours  as 
  634. everyone else on the Network!
  635.  
  636. 2)   If for any reason your system is not running Netmail  during 
  637. those hours, YOU MUST NOT ANSWER THE PHONE DURING THOSE HOURS!!!!
  638.  
  639.                       The Immediate Future
  640.  
  641. The volume of Netmail traffic will increase quite rapidly as we add |
  642. new Nets and Nodes to the Network.  We have already seen during the |
  643. testing  period  preceeding the formal release of Netmail that each |
  644. Hub  can handle upwards of 100 mailbag transfers per hour, assuming |
  645. faithful  adhearance to the concept that  only  Local Net Hubs call |
  646. Continental Hubs  and that there are a resulting  multiple mailbags |
  647. per  call  that  increased  the efficiency of the sessions.   Soon, |
  648. however, we will surpass that  capability  and  we  will  be forced |
  649. to add more Continental Hubs.  At the time of the release of Netmail|
  650. there were only  two Continental Hubs.   Paul Meiner's has a second |
  651. system  that  will  become  the  third  Continental Hub immediately |
  652. (001/003).   And a fourth will come on-line  as necessary.   In the |
  653. very  near  future  we  will  add  one  more  level of  Hubs to the |
  654. architecture:  the Regional Hub.  It is expected that there will be |
  655. an  Eastern and a  Western  Regional Hub in the near future.  These |
  656. Hubs  will  accept  mail  from  any  Local  Net  Hub  within  their |
  657. geographical  area of interest and forward  (re-direct) mail to THE |
  658. Continental Hub  they are assigned to,  or to Local Net Hubs within |
  659. their areas, or to the other Regional Hub.  What does not change is |
  660. that these Regional Hubs must place at least  one call per Netmail- |
  661. day  to  their  designated  Continental Hubs in order to insure the |
  662. receipt  mail from other places around the country.   As plans firm |
  663. up for these Regional Hubs we will have much greater flexibility in |
  664. routing  mail.   This  will  be  facilitated with new capability in |
  665. MDRIVER  that  will allow the user to specify  ALTERNATE ROUTING of |
  666. mail  should  it  not  be  able  to  deliver  mail via the route of |
  667. preference.                                                         |
  668.  
  669. In a very real sense,  the dynamics of Netmail will determine where |
  670. we go from here  in terms of  design and  implementation.   What is |
  671. certain, however, is that users of Netmail are to follow the design |
  672. faithfully in order that it be as efficient as possible.  Providing |
  673. coast to coast  mail capability  without cost to the users was done |
  674. with  an  architecture  in  mind.   To not use that architecture as |
  675. designed will damage the success of the effort.                     |
  676.  
  677. Enjoy the  facility and please  send any feedback you would like us |
  678. to consider.                                                        |
  679.